﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FtpCrawler
{
    /// <summary>
    /// 解析Ftp文件列表字符串
    /// </summary>
    public interface IFtpFileParser
    {

        /// <summary>
        /// 从一行字符串中提取FtpFileInfo文件对象
        /// </summary>
        /// <param name="line">一行字符串</param>
        /// <param name="path">指定路径</param>
        /// <returns>解析的FtpFileInfo文件对象</returns>
        FtpFileInfo ParseFile(string line, string path);

    }
}
